/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.dao.valicode;

import com.server.common.persistence.CrudDao;
import com.server.common.persistence.annotation.MyBatisDao;
import com.server.modules.sys.entity.valicode.ValiCode;

import java.util.List;

/**
 * 验证码DAO接口
 * @author 颜洪毅
 * @version 2016-08-15
 */
@MyBatisDao
public interface ValiCodeDao extends CrudDao<ValiCode> {
	public List<ValiCode> selectByTelephone(ValiCode valiCode);

	public List<ValiCode> selectByIp(ValiCode valiCode);

	public ValiCode selectLast(ValiCode valiCode);
}